<%-- 
    Document   : getRanking
    Created on : 11-mar-2012, 23:56:58
    Author     : CarmaZone
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Ranking</title>
    </head>
    <body>
        <h1>Ranking</h1>


        <table align="center">
            <tr>
                <td><img src="./CSS/general/images/ranking1.png" height="100px" width="258px"/></td>
            <tr>
            <tr align="center">    
                <td bgcolor="#f4d58c">
                    <logic:present name="userMorePtos" >
                        <logic:iterate  name="userMorePtos"  id="rnk">
                            <h3> <b>${rnk[0]}</b></h3>&nbsp;${rnk[1]} punto/s</br>            
                        </logic:iterate>
                    </logic:present>
                </td>
            </tr>
        </table>
        <br/>
        <table align="center">
            <tr>
                <td><img src="./CSS/general/images/ranking2.png" height="100px" width="258px"/></td>
            </tr>
            <tr align="center">
                <td  bgcolor="#f4d58c">
                    <logic:present name="userMoreExer" >
                        <logic:iterate  name="userMoreExer"  id="rnk">
                            <h3> <b>${rnk[0]}</b></h3>&nbsp;${rnk[1]} ejercicio/s</br></br>            
                        </logic:iterate>
                    </logic:present>                       
                </td>
            </tr>
        </table>
        </br>
        <table align="center">
            <tr>
                <td><img src="./CSS/general/images/ranking3.png" height="100px" width="258px"/></td>
            </tr>
            <tr align="center"  bgcolor="#f4d58c">
                <td>
                    <logic:present name="threeePlanets" >
                        <logic:iterate  name="threeePlanets"  id="rnk">
                            <h3><b>Planeta ${rnk[0]}</b> </h3>&nbsp;${rnk[2]} usuarios</br> </br>           
                        </logic:iterate>
                    </logic:present>
                </td>
            </tr>
        </table>
        <hr/>
        <table align="center">
            <tr>
                <td><img src="./CSS/general/images/ranking4.png" height="100px" width="258px"/></td>
            </tr>
            <tr align="center"  bgcolor="#f4d58c">
                <td>
                    <logic:present name="ExersMoreResolv" >
                            <logic:iterate  name="ExersMoreResolv"  id="rnk">
                                <h3> <b>${rnk[0]}</b></h3>&nbsp;${rnk[1]} vez/veces</br> </br>           
                            </logic:iterate>
                        </logic:present>     
                </td>
            </tr>
        </table>


        


    </body>
</html>
